package com.tql.mall.model.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tql.mall.model.base.BaseEntity;
import com.tql.mall.model.enums.OrderStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "订单状态记录")
@TableName("order_status_log")
public class OrderStatusLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "orderId")
    @TableField("order_id")
    private Long orderId;

    @ApiModelProperty(value = "orderStatus")
    @TableField("order_status")
    private String orderStatus;

    @ApiModelProperty(value = "operateTime")
    @TableField("operate_time")
    private Date operateTime;

}